package com.guiwu.gteway.industryapp.Device.module;

import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by 乔冠 on 2017/12/26. 网关组的数据抽象
 */

public class GateWayGroup {

    @SerializedName("deviceGroupId")
    private String GateWayGroupId;
    private String groupName;

    @SerializedName("devices")
    private List<GateWay> GateWays = new ArrayList<>();

    public String getGateWayGroupId() {
        return GateWayGroupId;
    }

    public void setGateWayGroupId(String gateWayGroupId) {
        GateWayGroupId = gateWayGroupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public List<GateWay> getGateWays() {
        return GateWays;
    }

    public void setGateWays(List<GateWay> gateWays) {
        GateWays = gateWays;
    }

    @Override
    public String toString() {
     //   return "GroupId:"+ GateWayGroupId + "  |  groupName：" + groupName + "  |  组成员：" + GateWays + " | 大小" +GateWays.size();
        return "GroupId:"+ GateWayGroupId + "  |  groupName：" + groupName + "  |  组成员：" + GateWays;

    }
}
